<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>Magneto - User's Profile</title>

  {include file="head-common.html"}

</head>

<body>

  {include file="header.html"}

  <div class="main container">

    <h1 class="over-bg antialias-white">User's Profile</h1>

    <section class="row">
      <form action="" class="span8 well" method="post" enctype="multipart/form-data">
        <input name="id" type="hidden" value="{$user->id}" />

        {include file="messages_managment.html"}

        <div class="row">

          <div class="span4">
            
            <div class="control-group">
              <label>Apellido</label>
              <input class="span4" name="lastname" placeholder="Write here your Lastname, please" value="{$user->lastname}" type="text" required />
            </div>

            <div class="control-group">
              <label for="firstname">Nombre</label>
              <input class="span4" name="firstname" value="{$user->firstname}" type="text" required />
            </div>

            <div class="control-group">
              <label for="email">Email</label>
              <input class="span4" name="email" value="{$user->email}" type="email" required />
            </div>
            
            <div class="control-group">
              <label for="phone">Telefonos / Celulares</label>
              <input class="span4" name="phone" value="{$user->phone}" type="text" />
            </div>

          </div>
          <!-- columna izquierda -->

          <div class="span4">

            <div class="control-group">
              <label>Nombre de Usuario</label>
              <input class="span4" name="username" id="username" value="{$user->username}" type="text" required />
            </div>

            <div class="control-group">
              <label>Contraseña</label>
              <input class="span4" name="password" id="password" type="password" value="{$user->password}" />
            </div>
            
            <div class="control-group">
              <label>Repetir la Contraseña</label>
              <input class="span4" name="re_password" id="re_password" type="password" value="{$user->password}" required />
            </div>

            <div class="control-group">
              <button type="submit" class="btn btn-primary pull-right" name="button_save"><i class="icon-ok icon-white"></i> Save</button>
            </div>
          </div>
          <!-- columna central -->      
        
        </div>
      </form>
  
      <div class="span3">
        <h2>Necesitas ayuda?</h2>
        <p><strong>Tu nombre de usuario</strong> servirá, junto a tu contraseña,
          para acceder al sistema. Te recomendamos utilizar un nombre que recuerdes
          facilmente, por ejemplo el mismo que tengas en tu email antes de la @
        </p>
      </div>
    </section>
    <!-- row -->

  </div>
  <!-- main container -->

  {include file="footer.html"}

</body>
</html>
